package com.grass.p019lv.databinding;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.core.widget.NestedScrollView;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;
import com.androidsa.bttsddka.R;
import com.grass.p019lv.game.GameRechargeActivity;
import com.grass.p019lv.generated.callback.OnClickListener;

/* renamed from: com.grass.lv.databinding.ActivityGameRechargeBindingImpl */
public class ActivityGameRechargeBindingImpl extends ActivityGameRechargeBinding implements OnClickListener.Listener {
    private static final ViewDataBinding.IncludedLayouts sIncludes = null;
    private static final SparseIntArray sViewsWithIds;
    private final View.OnClickListener mCallback102;
    private final View.OnClickListener mCallback103;
    private final View.OnClickListener mCallback104;
    private final View.OnClickListener mCallback105;
    private final View.OnClickListener mCallback106;
    private final View.OnClickListener mCallback107;
    private final View.OnClickListener mCallback108;
    private long mDirtyFlags;
    private final TextView mboundView1;
    private final LinearLayout mboundView4;
    private final LinearLayout mboundView5;

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public boolean onFieldChange(int i, Object obj, int i2) {
        return false;
    }

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        sViewsWithIds = sparseIntArray;
        sparseIntArray.put(R.id.tool_bar, 8);
        sViewsWithIds.put(R.id.scroll_view, 9);
        sViewsWithIds.put(R.id.tv_money, 10);
        sViewsWithIds.put(R.id.tv_game_money, 11);
        sViewsWithIds.put(R.id.tv_income_money, 12);
        sViewsWithIds.put(R.id.recycler, 13);
        sViewsWithIds.put(R.id.ll_wx, 14);
        sViewsWithIds.put(R.id.img_wx, 15);
        sViewsWithIds.put(R.id.ll_zfb, 16);
        sViewsWithIds.put(R.id.img_zfb, 17);
        sViewsWithIds.put(R.id.ll_ysf, 18);
        sViewsWithIds.put(R.id.img_ysf, 19);
    }

    public ActivityGameRechargeBindingImpl(DataBindingComponent dataBindingComponent, View view) {
        this(dataBindingComponent, view, mapBindings(dataBindingComponent, view, 20, sIncludes, sViewsWithIds));
    }

    private ActivityGameRechargeBindingImpl(DataBindingComponent dataBindingComponent, View view, Object[] objArr) {
        super(dataBindingComponent, view, 0, (ImageView) objArr[15], (ImageView) objArr[19], (ImageView) objArr[17], (LinearLayout) objArr[14], (LinearLayout) objArr[18], (LinearLayout) objArr[16], (RecyclerView) objArr[13], (LinearLayout) objArr[0], (NestedScrollView) objArr[9], (Toolbar) objArr[8], (TextView) objArr[11], (TextView) objArr[6], (TextView) objArr[12], (TextView) objArr[10], (TextView) objArr[7], (TextView) objArr[2], (TextView) objArr[3]);
        this.mDirtyFlags = -1;
        TextView textView = (TextView) objArr[1];
        this.mboundView1 = textView;
        textView.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[4];
        this.mboundView4 = linearLayout;
        linearLayout.setTag(null);
        LinearLayout linearLayout2 = (LinearLayout) objArr[5];
        this.mboundView5 = linearLayout2;
        linearLayout2.setTag(null);
        this.rootView.setTag(null);
        this.tvHint.setTag(null);
        this.tvSubmit.setTag(null);
        this.tvTransfer.setTag(null);
        this.tvWithdraw.setTag(null);
        setRootTag(view);
        this.mCallback106 = new OnClickListener(this, 5);
        this.mCallback104 = new OnClickListener(this, 3);
        this.mCallback102 = new OnClickListener(this, 1);
        this.mCallback108 = new OnClickListener(this, 7);
        this.mCallback107 = new OnClickListener(this, 6);
        this.mCallback105 = new OnClickListener(this, 4);
        this.mCallback103 = new OnClickListener(this, 2);
        invalidateAll();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void invalidateAll() {
        synchronized (this) {
            this.mDirtyFlags = 2;
        }
        requestRebind();
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean hasPendingBindings() {
        synchronized (this) {
            if (this.mDirtyFlags != 0) {
                return true;
            }
            return false;
        }
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean setVariable(int i, Object obj) {
        if (34 != i) {
            return false;
        }
        setClick((GameRechargeActivity.OnClick) obj);
        return true;
    }

    @Override // com.grass.p019lv.databinding.ActivityGameRechargeBinding
    public void setClick(GameRechargeActivity.OnClick onClick) {
        this.mClick = onClick;
        synchronized (this) {
            this.mDirtyFlags |= 1;
        }
        notifyPropertyChanged(34);
        super.requestRebind();
    }

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public void executeBindings() {
        long j;
        synchronized (this) {
            j = this.mDirtyFlags;
            this.mDirtyFlags = 0;
        }
        GameRechargeActivity.OnClick onClick = this.mClick;
        if ((j & 2) != 0) {
            this.mboundView1.setOnClickListener(this.mCallback102);
            this.mboundView4.setOnClickListener(this.mCallback105);
            this.mboundView5.setOnClickListener(this.mCallback106);
            this.tvHint.setOnClickListener(this.mCallback107);
            this.tvSubmit.setOnClickListener(this.mCallback108);
            this.tvTransfer.setOnClickListener(this.mCallback103);
            this.tvWithdraw.setOnClickListener(this.mCallback104);
        }
    }

    @Override // com.grass.p019lv.generated.callback.OnClickListener.Listener
    public final void _internalCallbackOnClick(int i, View view) {
        boolean z = true;
        switch (i) {
            case 1:
                GameRechargeActivity.OnClick onClick = this.mClick;
                if (onClick == null) {
                    z = false;
                }
                if (z) {
                    onClick.btnBack();
                    return;
                }
                return;
            case 2:
                GameRechargeActivity.OnClick onClick2 = this.mClick;
                if (onClick2 == null) {
                    z = false;
                }
                if (z) {
                    onClick2.goTransfer();
                    return;
                }
                return;
            case 3:
                GameRechargeActivity.OnClick onClick3 = this.mClick;
                if (onClick3 == null) {
                    z = false;
                }
                if (z) {
                    onClick3.goWithDraw();
                    return;
                }
                return;
            case 4:
                GameRechargeActivity.OnClick onClick4 = this.mClick;
                if (onClick4 == null) {
                    z = false;
                }
                if (z) {
                    onClick4.goDetails();
                    return;
                }
                return;
            case 5:
                GameRechargeActivity.OnClick onClick5 = this.mClick;
                if (onClick5 == null) {
                    z = false;
                }
                if (z) {
                    onClick5.goWithDrawDetails();
                    return;
                }
                return;
            case 6:
                GameRechargeActivity.OnClick onClick6 = this.mClick;
                if (onClick6 == null) {
                    z = false;
                }
                if (z) {
                    onClick6.goHint();
                    return;
                }
                return;
            case 7:
                GameRechargeActivity.OnClick onClick7 = this.mClick;
                if (onClick7 == null) {
                    z = false;
                }
                if (z) {
                    onClick7.goRecharge();
                    return;
                }
                return;
            default:
                return;
        }
    }
}
